import { axios } from '@/utils/request'

/**
 * 撤回任务
 * @param data
 * @returns {*}
 */
export function revokeProcess(data) {
  return axios({
    url: '/workflow/task/revokeProcess',
    method: 'post',
    data: data
  })
}

/**
 * 收回任务
 * @param data
 * @returns {*}
 */
export function recallProcess(data) {
  return axios({
    url: '/workflow/task/recallProcess',
    method: 'post',
    data: data
  })
}

